package com.naiterui.ehp.bp.bo.form;

import java.util.List;
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonInclude;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class DesignFormBO implements java.io.Serializable {

    private static final long serialVersionUID = -1281392441217341449L;

    @ApiModelProperty(value = "id")
    private String formId;

    @ApiModelProperty(value = "表单配置")
    private FormConfBO formConf;

    @ApiModelProperty(value = "表单字段配置")
    private List<FormDrawingBO> formDrawing;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @ApiModelProperty(value = "多表单是list")
    private List<FormDataListBO> lists;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @ApiModelProperty(value = "表单数据")
    private Map<String, Map<String, Object>> formData;
}
